package org.springmole.business.bean.hibernate;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;


@XmlAccessorType(XmlAccessType.FIELD)
public class EntityData extends DetailData {


	
	@XmlAttribute(name="insert")
	private long insertCount = 0;
	
	@XmlAttribute(name="delete")
	private long deleteCount = 0;
	
	@XmlAttribute(name="update")
	private long updateCount = 0;
	
	@XmlAttribute(name="load")
	private long loadCount = 0;
	
	@XmlAttribute(name="fetch")
	private long fetchCount = 0;
	
	@XmlAttribute(name="optimisticFailure")
	private long optimisticFailureCount = 0;
	

	public long getInsertCount() {
		return insertCount;
	}

	public void setInsertCount(long insertCount) {
		this.insertCount = insertCount;
	}

	public long getDeleteCount() {
		return deleteCount;
	}

	public void setDeleteCount(long deleteCount) {
		this.deleteCount = deleteCount;
	}

	public long getUpdateCount() {
		return updateCount;
	}

	public void setUpdateCount(long updateCount) {
		this.updateCount = updateCount;
	}

	public long getLoadCount() {
		return loadCount;
	}

	public void setLoadCount(long loadCount) {
		this.loadCount = loadCount;
	}

	public long getFetchCount() {
		return fetchCount;
	}

	public void setFetchCount(long fetchCount) {
		this.fetchCount = fetchCount;
	}

	public long getOptimisticFailureCount() {
		return optimisticFailureCount;
	}

	public void setOptimisticFailureCount(long optimisticFailureCount) {
		this.optimisticFailureCount = optimisticFailureCount;
	}
	
	
	
}
